Skip to main content

SqlServerExpression<T>

Assembly: ServiceStack.OrmLite.SqlServer.Data.dll
View Source
Declaration
public class SqlServerExpression<T> : SqlExpression<T>, ISqlExpression, IHasUntypedSqlExpression, IHasDialectProvider

Methods

PrepareUpdateStatement(IDbCommand, T, Boolean)

View Source
Declaration
public override void PrepareUpdateStatement(IDbCommand dbCmd, T item, bool excludeDefaults = false)
Parameters
TypeName
IDbCommanddbCmd
<T>item
System.BooleanexcludeDefaults

GetSubstringSql(Object, Int32, Nullable<Int32>)

View Source
Declaration
public override string GetSubstringSql(object quotedColumn, int startIndex, int? length = null)
Returns

System.String

Parameters
TypeName
System.ObjectquotedColumn
System.Int32startIndex
System.Nullable<System.Int32>length

ToLengthPartialString(Object)

View Source
Declaration
protected override PartialSqlString ToLengthPartialString(object arg)
Returns

ServiceStack.OrmLite.PartialSqlString

Parameters
TypeName
System.Objectarg

ConvertToPlaceholderAndParameter(ref Object)

View Source
Declaration
protected override void ConvertToPlaceholderAndParameter(ref object right)
Parameters
TypeName
System.Objectright

VisitFilter(String, Object, Object, ref Object, ref Object)

View Source
Declaration
protected override void VisitFilter(string operand, object originalLeft, object originalRight, ref object left, ref object right)
Parameters
TypeName
System.Stringoperand
System.ObjectoriginalLeft
System.ObjectoriginalRight
System.Objectleft
System.Objectright

ToDeleteRowStatement()

View Source
Declaration
public override string ToDeleteRowStatement()
Returns

System.String

Implements